const substringFn = (value=110,n=5)=>{
    let newvalue = String(value);
    
    return newvalue.substring(0,n)
}
const mathroundFn = (x,mulriple=1)=>{
    if(x){

        return Math.round(x*mulriple);
    }else{
        return 0;
    }
}


export {substringFn,mathroundFn}